package Sunday;

public class Dept {
    private Integer dept_id;
    private String dept_name;
    private String leader_name;


    public Dept() {
    }

    public Dept(Integer dept_id, String dept_name, String leader_name) {
        this.dept_id = dept_id;
        this.dept_name = dept_name;
        this.leader_name= leader_name;
    }

    public Integer getId() {
        return dept_id;
    }

    public void setId(Integer dept_id) {
        this.dept_id = dept_id;
    }

    public String getName() {
        return dept_name;
    }

    public void setName(String dept_name) {
        this.dept_name = dept_name;
    }

    public String getLname() {
        return leader_name;
    }

    public void setLname(String leader_name) {
        this.leader_name = leader_name;
    }



    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("dept{");
        sb.append("dept_id=").append(dept_id);
        sb.append(", dept_name='").append(dept_name).append('\'');
        sb.append(",leader_name  ='").append(leader_name ).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
